import request from '../untils/requst'
// 创建预订单
export const perOrder = (data) => {
    return request({
        url: '/preOrder/create',
        method: 'post',
        data: data
    })
}
// 创建订单
export const createOrder = (data) => {
    return request({
        url: '/order/create',
        method: 'post',
        data: data
    })
}
// 判断是否支付
export const orderDetail = (data) => {
    return request({
        url: '/order/detail',
        method: 'post',
        data: data
    })
}